package com.mybatis.dao;

import com.mybatis.pojo.Teacher2;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TeacherMapper2 {
    List<Teacher2> getTeacher();

    Teacher2 getTeachers2(@Param("tid") int id);

    Teacher2 getTeacher3(@Param("tid") int id);
}
